#define _CRT_SECURE_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS 1
#include <assert.h>
#include <stdio.h>
#include <string.h>

#define Max 1000
#define Max_name 20
#define Max_addr 30
#define Max_tel 30
#define Max_sex 6
#define Inital 3
#define add 2



struct peoinfor
{
	char name[Max_name];
	char sex[Max_sex];
	char tel[Max_tel];
	int age;
	char addr[Max_addr];
};

struct Contact
{
	struct peoinfor *date;
	int sz;
	int cap;
};

void Intcontact(struct Contact* con);

void Addcontact(struct Contact* con);

void Delcontact(struct Contact* con);

void Searchcontact(const struct Contact* con);

void Showcontact(struct Contact* con);

void Modifycontact(struct Contact* con);

void sortagecontact(struct Contact* con);

void sortnamecontact(struct Contact* con);

void cleancontact(struct Contact* con);

void Destroycontact(struct Contact* con); 






